package com.dxy.hms.dict;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
public @interface DictField {

    // 字典key或者类型，当不填时默认去fieldName并转成小写下划线作为key
    String value() default "";
}
